package com.njtoyo.taxi.admin.rest.wrapper.business.driver;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.mapper.master.enums.DriverScoreDeductingCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Objects;

@Data
@ApiModel(value = "司机扣分列表查询")
public class ScoreDeductingQueryWrapper extends Page<ScoreDeductingQueryWrapper> {
    public ScoreDeductingQueryWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty(value = "分类")
    private DriverScoreDeductingCategory category;

    @ApiModelProperty(value = "司机搜索")
    private String driverSearch;

    @ApiModelProperty(value = "司机姓名，前端不传")
    private String driverName;

    @ApiModelProperty(value = "司机手机号，前端不传")
    private String driverMobilePhone;

    @ApiModelProperty(value = "司机id")
    private Long driverId;

    private List<Long> cantonIds;

    private List<Long> companyIds;

}
